package org.genntii.smdomain.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@TableName("Role_Permission")
@NoArgsConstructor
@AllArgsConstructor
public class RolePermission {
    @TableId(type = IdType.AUTO)
    private Long id;
    private byte status;
    private Long roleId;
    private Long permissionId;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
}
